POST
/
api
/
v3
/
sites
/
{site_uuid}
/
teams
/
{team_uuid}
/
grant-sensitive-data
Grant sensitive data access to a team
curl --request POST \
  --url https://cloud.volttime.com/api/v3/sites/{site_uuid}/teams/{team_uuid}/grant-sensitive-data \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "data_access_expires_at": "2051-10-19",
  "expires_never": true
}'
{
  "message": "Sensitive data access granted successfully"
}

Authorizations

Authorization
string
header
required

See the documentation for more information.

Path Parameters

site_uuid
string
required
team_uuid
string
required

Body

application/json
expires_never
boolean
required
Example:

true

data_access_expires_at
string

This field is required when <code>expires_never</code> is <code>false</code>. Must be a valid date. Must be a date after <code>today</code>.

Example:

"2051-10-19"

Response

200 - application/json
message
string
Example:

"Sensitive data access granted successfully"